package com.chaofan.sell.repository;

import com.chaofan.sell.entity.SellerInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Fairy
 * @date 2021/10/25
 */
public interface SellerInfoRepository extends JpaRepository<SellerInfo, String> {
    /**
     * 通过openid查询
     *
     * @param openid 带查询的openid
     * @return 结果
     */
    SellerInfo findByOpenid(String openid);
}
